package com.gw.yunke.service.impl;

import com.gw.yunke.dao.ImageMapper;
import com.gw.yunke.domain.Image;
import com.gw.yunke.service.IImageService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ImageServiceImpl implements IImageService{

  @Autowired
  private ImageMapper imageMapper;

  @Override
  public Image getImageById(Long imageId) {
    return imageMapper.selectByPrimaryKey(imageId);
  }
}
